#box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.cart_main_wrap {
    background-color: #fff;
}

.cont {
    width: 250px;
}

.jiesuan {
    border: 2px solid black;
    background-color: pink;
}

.active {
    color: blueviolet;
    text-decoration: cadetblue;
}

.cart_main_wrap>div {
    margin: 0 auto;
    width: 1190px;
}

#back {
    display: block;
    width: 150px;
    padding: 10px;
    border-radius: 20px;
    background-color: blueviolet;
    cursor: pointer;
}

.cart_main_top {
    width: 1190px;
    height: 30px;
    margin: 10px auto;
    background-color: #fff;

    div {
        font-size: 12px;
        color: #222;
        line-height: 30px;
        padding-left: 20px;

        a {
            color: #222;
            text-decoration: none;
            -webkit-transition: .2s;
            transition: .2s;
        }

        a:hover {
            color: red;
        }
    }
}

.wrapper {
    width: 1200px;

    .wrapper_son {
        width: 1200px;
        float: left;
        margin-top: 20px;
        height: 48px;
        background: url(../images/confirm-head.jpg) no-repeat 0 0;
    }
}

.cart_main_wrap>.cart_msg_wrap {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.g-wrapper {
    width: 1200px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: center;

    thead {
        border: 1px solid #e5e5e5;
        background: #f5f5f5;

        tr {
            display: table-row;
            vertical-align: inherit;
            border-color: inherit;

            th {
                height: 30px;
                line-height: 30px;
            }

            .select {
                padding: 12px 8px;
                width: 30px;
            }

            .goods {
                text-align: left;
            }

            .price,
            .total {
                width: 120px;
            }

            .count,
            .handle {
                width: 200px;

            }
        }
    }

    tbody {
        .blank {
            border: none;

            td {
                padding: 8px 12px;
            }

        }

        .goods {
            border: 1px solid #e5e5e5;

            td {
                line-height: 20px;
                padding: 12px 8px;
            }

            .one {
                display: inline-block;
                width: 16px;
                min-height: 16px;
                margin-right: 5px;
                vertical-align: middle;
                cursor: pointer;
                background: url(../images/icon_checkbox.png) no-repeat 50%;
            }

            .goods_item {
                margin: 0;
                padding: 0;

                a {
                    position: relative;
                    float: left;
                    width: 100px;
                    height: 100px;
                    margin-right: 10px;
                    border: 1px solid #e5e5e5;

                    img {
                        display: block;
                        width: 100%;
                        height: 100%;
                    }
                }

                .info {
                    position: relative;
                    overflow: hidden;
                    min-height: 100px;
                    line-height: 18px;
                    text-align: left;

                    p.title {
                        overflow: hidden;
                        max-height: 36px;
                        margin-bottom: 6px;
                        line-height: 18px;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                        color: #666;
                    }

                    p {
                        margin: 0;
                        color: #999;
                    }
                }
            }

            .price {
                strong {
                    color: #f03a58;
                    font-weight: bold;
                }
            }

            .count_handle {
                display: inline-block;
                position: relative;
                width: 100px;
                overflow: hidden;
                border: 1px solid #ddd;
                border-radius: 3px;
                background: #fff;
                vertical-align: middle;

                input {
                    display: block;
                    width: 100%;
                    height: 24px;
                    line-height: 24px;
                    text-align: center;
                    font-size: 14px;
                }
            }

            .price2 {
                strong {
                    color: #f03a58;
                }
            }

            .delee {
                color: #222;
                text-decoration: none;
                -webkit-transition: .2s;
                transition: .2s;
            }

            .delee:hover {
                color: red;
            }
        }
    }
}

.jiesuann {
    margin-top: 15px;
    padding: 10px 20px 20px 10px;
    background: #f2f2f2;
    border: 1px solid #e6e6e6;

    p {
        margin: 10px 0;
        text-align: right;
        font-size: 14px;
        color: #666;

        strong {
            font-size: 22px;
            color: #f03a58;
            font-weight: bold;
        }
    }
}

.null_context {
    margin-top: 30px;

    div {
        padding-top: 250px;
        padding-bottom: 30px;
        text-align: center;
        background: url(../images/cart_null.png) no-repeat center 20px;
        font-size: 20px;
    }

    a {
        display: inline-block;
        height: 36px;
        line-height: 36px;
        margin-top: 20px;
        padding: 0 45px;
        border: 1px solid #f03a58;
        color: #f03a58;
        border-radius: 5px;
    }
}